import request from '@/utils/request'

// 获取验证码
export function getSms(data) {
    return request({
      url: '/Sms/SmsCode',
      method: 'post',
      data: data
    })
  }

//登录验证
export function login(data){
  return request({
    url: '/user/login',
    method:'post',
    data: data
  })
}